<?php echo form_open(base_url().'journal/admin/students/add'); ?>
  <fieldset>
     <p><select name="id_group">
       	 <?foreach ($groups as $result){?>
	     <option value="<?=$result['id']?>"><?=$result['code']?></option>
	     <?}?>
   	 </select></p>
     <p><font color=#C40000>*</font> <?=lang('name_student') ?>:</p><textarea name="text" autocomplete="on" maxlength="300" required><?echo set_value('text');?></textarea>
     <p style="position:absolute;"><?echo form_error('text');?></p>
     <p><?=lang('name_student_description') ?></p>
     <p><input name="add_student_submit" type="submit" value="<?=lang('admin_button_create')?>"></p>
  </fieldset>
</form>